{if $full_page eq 1}
<!DOCTYPE HTML>
<html>
  <head>
    {include file='html_header.htm'}
	<script src='js/touch.js'></script>
    <script>
      function search_order()
      {
        if(check_form_empty('theForm'))
        {
          $.zalert.add('至少有一项输入不为空！',1)
        }
        else
        {
          $.zcontent.set('order_sn',$('#order_sn').val());
          $.zcontent.set('user_name',$('#user_name').val());
		 
          search();
        }
        return false;
      }
    </script>
  </head>
  <body>
    <div id='container'>
      {/if}
      {include file='page_header.htm'}
      <section>
        {include file='menu_list.htm'}
        <div class="order_con" id="con_order_manage_2" style="display:none">
          <div class="query_stock">
            <div class='order_search'>
              <form name="theForm" class="order_search" onsubmit='return search_order();'>
                <table width="100%" border="0">
                  <tr>
                    <td>
                      <input type="text" name="order_sn" id='order_sn' class="inputBg" placeholder="请输入订单号" {if $filter.order_sn}value='{$filter.order_sn}'{/if}/>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <input type="text" name="user_name" id='user_name' class="inputBg" placeholder="请输入买家姓名"  {if $filter.user_name}value='{$filter.user_name}'{/if}/>
                    </td>
                  </tr>
                  <tr>
                    <td>
                      <input type="submit" class="button2" value="查找"/>
                    </td>
                  </tr>
                </table>
              </form>
            </div>
          </div>
        </div>
        <div class="order_con" id="con_order_manage_1">
		{include file='order_status_list.htm'}
		 
          <div class="order_pd"  id="con_type_1">
            <div class="order">
              <ul class="order_list">
                {foreach from=$orders item=order}
                <li>
                  <table width="100%" cellpadding="3" cellspacing="1" >
                    <tr>
                      <td align="left">订单号：<a href="order.php?act=info&order_id={$order.order_id}">{$order.order_sn}</a></td>
                      <td align="right">下单时间：{$order.short_order_time}</td>
                    </tr>
                    <tr>
                      <td align="left">买家：{$order.buyer}</td>
                      <td align="right">金额：{$order.formated_total_fee}</td>
                    </tr>
                    <tr>
                      <td align="left">订单状态：{$lang.os[$order.order_status]},{$lang.ps[$order.pay_status]},{$lang.ss[$order.shipping_status]}</td>
                      <td align="right"><a href='navigate.php?act=navigate&order_id={$order.order_id}' target='_blank'><img src='images/location.png' style='height:15px;'/></a>&nbsp;&nbsp;<a href="order.php?act=info&order_id={$order.order_id}" class="font" >查看</a></td>
                    </tr>
                  </table>
                </li>
                {foreachelse}
                <li>
                  <div class="no_order" style="">没有找到任何订单！</div>
                </li>
                {/foreach}
              </ul>
            </div>
            {include file='page.htm'}
          </div>
        </div>
      </section>
      {include file='page_footer.htm'}
      {if $full_page eq 1}
    </div>
    {include file='static_div.htm'}
  </body>
</html>
{/if}

